<?php


namespace app\admin\member\validate;



use app\common\validate\BaseValidate;

class MemberLevelValidate extends BaseValidate
{
    protected $rule = [
        'id' => 'require',
        'name' => 'require',
        'growth_value' => 'require',
    ];

    protected $field = [
        'id' => 'ID',
        'name' => '等级名称',
        'growth_value' => '成长值',
    ];
    protected $scene = [
        "id" => [
            'id',
        ],
        "add" => [
            'name',
            'growth_value',
        ],
        "update" => [
            'id',
            'name',
            'growth_value',
        ],
    ];
}